<!--#include file="admin/Includes/constants.asp"-->
<!--#include file="admin/Includes/validate.asp"-->
<%
Dim Rating, ImageName, ImageID, strMessage

ImageName = Request.QueryString("in")
ImageID = Request.QueryString("iid")
dim PathArry
PathArry=split(ImageName,"/")
DIM ArrayCount
ArrayCount= ubound(PathArry)
dim FilePathArr
FilePathArr=split(PathArry(ArrayCount),".")
dim FileName
FileName=FilePathArr(lbound(FilePathArr)) &"l."&FilePathArr(ubound(FilePathArr))

 

	'ImageID = Request.Form("ImageID")
	strSQL = "{CALL a_Zoom_Count ("&ImageID&")}"	
	'response.Write(strSQL)
	'response.End()	
	exec(strsql)
	'strMessage="Cảm ơn bạn đã tham gia chấm điểm."
Set RS = Nothing
	Set cmd = Nothing
	objConn.Close
	Set objConn = Nothing	

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Phong to</title>
	<Meta name="Robots" content="noindex,nofollow">
	<link rel="STYLESHEET" type="text/css" href="system/styles.css">
</head>
<body style="background-color:#FFFFCC">
<form action="review.asp" method="post">
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC">
  	<tr><td bgcolor="#B6A8AD"><img src="<%=seo_mode_img%>/de_clear.gif"  width="1" height="1" border="0"></td></tr>
	<tr bgcolor="#B6A8AD"><td align="center">
	
	<% 

	dim LargeFile
	LargeFile=server.MapPath(".")&"\"&seo_model_img&"\"&FileName

	if (IsFileExists(LargeFile)=true) then %>
	<img src="http://www.<%=Domain_Name %>/<%=seo_model_img%>/<%=FileName%>" vspace="10" id="imgmodel" onLoad="resizeZoom()" />
	
	<%else %>
	
	<img src="http://www.<%=Domain_Name %>/<%=seo_model_img%>/<%=PathArry(ArrayCount)%>" vspace="10" id="imgmodel" onLoad="resizeZoom()" />

	<%
			'Response.Write(LargeFile)
	end if

	 %>
	</td></tr>	
	  <tr><td style="padding:20px 10px 20px 12px;" align="right">
	   <a href="javascript:window.close()"><input type="button" onclick="javascript:window.close()" value="Đóng" style="cursor:pointer" class="btnGo"></a>
	   </td></tr> 
</table>
 </form>
 <script language="javascript" type="text/javascript">
 	function resizeZoom(){ 		
	
    img=document.getElementById("imgmodel");	
	if(img.width>250){
		self.resizeTo(img.width+20, img.height+150);

		}
	else		
		self.resizeTo(250+20, 380+150);						    
	}
	
	//resizeZoom();			
 </script>
</body>
</html>

